html * {
  margin: 0; /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
}

/* GENERAL */

#wrap {
  background: url( "../images/mots/body-background.jpg" ) top repeat-y;
  color: black;
  margin: 0 auto;
  width: 760px;
}

#header {
  background: url( "../images/mots/header-background.jpg" ) bottom no-repeat;
  height: 208px;
  width: 760px;
}

#header p {
  color: white;
  font-weight: bold;
  font-size: 0.8em;
  margin-top: 0;
  padding-right: 30px;
  float: right;
}

#header a {
  font-size: 0.8em;
  font-weight: bold;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
}

/* Main Navigation menu */
#navigation {
  width: 700px;
  margin: 10px;
  padding-top: 190px;
}

#navigation li {
  float: left;
  list-style-type: none;
  white-space: nowrap;
}

#navigation li a {
  display: block;
  padding: 0 10px;
  font-size: 0.8em;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
}

.spinner {
  padding: 5px;
  position: absolute;
  right: 0;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  font: 11px verdana, arial, helvetica, sans-serif;
  background: #ddd;
  color: #404040;
}

a:link, a:visited, a:hover {
  color: #666;
  font-weight: bold;
  text-decoration: none;
}

h1 {
  color: #800000;
  font-weight: normal;
  font-size: 26px;
  margin: .8em 0 .3em 0;
}

h2 {
  color: #800000;
  font-weight: bold;
  font-size: 18px;
  margin: 1em 0 .3em 0;
}

h3 {
  color: #800000;
  font-weight: bold;
  font-size: 14px;
  margin: 1em 0 .3em 0;
}

ul {
  padding-left: 15px;
}

input, select, textarea {
  background-color: #fcfcfc;
  border: 1px solid #ccc;
  font: 11px verdana, arial, helvetica, sans-serif;
  margin: 2px 0;
  padding: 2px 4px;
}

select {
  padding: 2px 2px 2px 0;
}

textarea {
  width: 250px;
  height: 150px;
  vertical-align: top;
}

input:focus, select:focus, textarea:focus {
  border: 1px solid #b2d1ff;
}

.body {
  float: left;
  margin-left: 30px;
  width: 630px;
}

.textbody {
  float: left;
  width: 630px;
  margin: 10px 30px 10px 30px;
}

/* Main content */
#content {
  line-height: 1.7em;
  margin: 0 0 0 20px;
  padding: 0;
  text-align: left;
}

#newMessage h3 {
  font-size: x-large;
  font-weight: bold;
  border-bottom: 1px solid lightslategray;
  margin-top: 1em;
  margin-bottom: 1em;
}

#messageTextArea {
  width: 90%;
  height: 100px;
  font-size: larger;
}

#messageSubmitButton {
  color: #666;
  font-weight: bold;
  margin-left: 440px;
}

.messageContent {
  margin: 1em;
  padding-top: 1em;
}

.messageImage {
  padding-right: 10px;
  padding-top: 10px;
  float: left;
}

.messageEntry {
  padding-top: 0.5em;
  margin-left: 3em;
  font-size: larger;
  background: transparent;
}

.messageLink {
  color: gray;
  font-size: 0.6em;
  text-decoration: none;
}

.messageText {
  padding-left: 8px;
}

.messageText a {
  font-weight: bold;
  text-decoration: none;
  background: transparent;
}

.messageHeader {
  font-size: 0.8em;
  background: transparent
}

.messageHeaderPrivate {
  font-size: 0.8em;
  background: url( "../images/mots/mots_only.jpg" ) right no-repeat;
}

.messageDate {
  font-size: 0.7em;
  color: gray;
}

#charLeft {
  color: lightslategray;
  width: 50%;
  font-size: x-large;
  border: none;
}

/* Footer */
#footer {
  background: url( "../images/mots/footer-background.jpg" ) bottom no-repeat;
  color: gray;
  font-size: 0.9em;
  clear: both;
  margin-left: -39px;
  padding-top: 100px;
  text-align: center;
  width: 760px;
  height: 10px;
}

#footer p {
  margin: 0;
  padding: 0;
}

#footer a {
  background: inherit;
  color: #808080;
  font-weight: 400;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

#footer span {
  font-size: 1.2em;
}

/* NAVIGATION MENU */

.nav {
  background: #fff;
  margin-top: 5px;
  margin-left: 30px;
  padding: 3px 6px;
  width: 630px;
}

.menuButton {
  font-size: 10px;
  padding: 0 5px;
}

.menuButton a {
  color: #999999;
  padding: 4px 6px;
}

.menuButton a.home {
  background: url( ../images/skin/house.png ) center left no-repeat;
  color: #333;
  padding-left: 25px;
}

.menuButton a.list {
  background: url( ../images/skin/database_table.png ) center left no-repeat;
  color: #333;
  padding-left: 25px;
}

.menuButton a.create {
  background: url( ../images/skin/database_add.png ) center left no-repeat;
  color: #333;
  padding-left: 25px;
}

/* MESSAGES AND ERRORS */

.message {
  background: #f3f8fc url( ../images/skin/information.png ) 8px 50% no-repeat;
  border: 1px solid #b2d1ff;
  color: #006dba;
  margin: 10px 0 5px 0;
  padding: 5px 5px 5px 30px
}

.ajaxError {
  background: #fff3f3 url( ../images/skin/exclamation.png ) 8px 50% no-repeat;
  border: 1px solid red;
  color: #cc0000;
  margin: 10px 0 5px 0;
  padding: 5px 5px 5px 30px;
}

div.errors {
  background: #fff3f3;
  border: 1px solid red;
  color: #cc0000;
  margin: 10px 0 5px 0;
  padding: 5px 0 5px 0;
}

div.errors ul {
  list-style: none;
  padding: 0;
}

div.errors li {
  background: url( ../images/skin/exclamation.png ) 8px 0% no-repeat;
  line-height: 16px;
  padding-left: 30px;
}

td.errors select {
  border: 1px solid red;
}

td.errors input {
  border: 1px solid red;
}

/* TABLES */

table {
  border: 1px solid #ccc;
  width: 100%
}

tr {
  border: 0;
}

td, th {
  font: 11px verdana, arial, helvetica, sans-serif;
  line-height: 12px;
  padding: 5px 6px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #fff url( ../images/skin/shadow.jpg );
  color: #666;
  font-size: 11px;
  font-weight: bold;
  line-height: 17px;
  padding: 2px 6px;
}

th a:link, th a:visited, th a:hover {
  color: #333;
  display: block;
  font-size: 10px;
  text-decoration: none;
  width: 100%;
}

th.asc a, th.desc a {
  background-position: right;
  background-repeat: no-repeat;
}

th.asc a {
  background-image: url( ../images/skin/sorted_asc.gif );
}

th.desc a {
  background-image: url( ../images/skin/sorted_desc.gif );
}

.odd {
  background: #f7f7f7;
}

.even {
  background: transparent;
}

/* LIST */

.list table {
  border-collapse: collapse;
}

.list th, .list td {
  border-left: 1px solid #ddd;
}

.list th:hover, .list tr:hover {
  background: #ffffcc;
}

/* Member LIST */

.memberlist table {
  padding: 5px;
  margin: 5px;
}

.memberlist tr {
  border: 0;
  cursor: pointer;
}

.memberlist td {
  font-size: 1.2em;
  cursor: pointer;
}

.memberlist th, .list td {
  border-left: 1px solid #ddd;
}

.memberlist th:hover, .memberlist tr:hover {
  background: #ffffcc;
}

/* PAGINATION */

.paginateButtons {
  float: right;
  background: #fff;
  color: #666;
  font-size: 10px;
  overflow: hidden;
  padding: 10px 3px;
}

.paginateButtons a {
  background: #fff;
  color: #666;
  margin: 0 3px;
  padding: 2px 6px;
}

.paginateButtons span {
  padding: 2px 3px;
}

/* DIALOG */

.dialog table {
  padding: 5px 0;
}

.prop {
  padding: 5px;
}

.prop .name {
  text-align: left;
  width: 15%;
  white-space: nowrap;
}

.prop .value {
  text-align: left;
  width: 85%;
}

/* ACTION BUTTONS */

.buttons {
  background: #fff url( ../images/skin/shadow.jpg ) bottom repeat-x;
  border: 1px solid #ccc;
  color: #666;
  font-size: 10px;
  margin-top: 5px;
  overflow: hidden;
  padding: 0;
}

.buttons input {
  background: #fff;
  border: 0;
  color: #333;
  cursor: pointer;
  font-size: 10px;
  font-weight: bold;
  margin-left: 3px;
  overflow: visible;
  padding: 2px 6px;
}

.buttons input.delete {
  background: transparent url( ../images/skin/database_delete.png ) 5px 50% no-repeat;
  padding-left: 28px;
}

.buttons input.edit {
  background: transparent url( ../images/skin/database_edit.png ) 5px 50% no-repeat;
  padding-left: 28px;
}

.buttons input.save {
  background: transparent url( ../images/skin/database_save.png ) 5px 50% no-repeat;
  padding-left: 28px;
}

.toggleButton {
  background: transparent;
  border: 0;
  color: #666;
  cursor: pointer;
  font-size: 10px;
  font-weight: bold;
  padding-left: 28px;
}

.emailButton {
  float: left;
  font-weight: bold;
  padding: 0;
  margin: 0;
  color: #666;
  cursor: pointer;
}

.messageDeleteButton {
  background: transparent;
  border: 0;
  cursor: pointer;
  background: transparent url( ../images/trash.gif ) 5px 50% no-repeat;
  padding-left: 28px;
}
